<#import "../baseftl/page.ftl" as comm />
<#assign security=JspTaglibs["http://www.springframework.org/security/tags"] /> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>文章</title>
</head>

<body>
<form id="articleForm" name="articleForm" method="post" action="${base}/article/articleitem/list/${id}.shtml">
内容:<input name="articleItem.title" id="articleItem.title" value="${articleItem.title?default("")}" type="text" />
，每页显示<input name="page.pageSize" id="page.pageSize" value="${page.getPageSize()?default("")}" type="text" size=3/>条
<input type="submit" value="查询" class="button"/>&nbsp; 
</form>
<table>
<tr>
				<td nowrap="nowrap">序号&nbsp;</td>
				<td nowrap="nowrap">标题&nbsp;</td>
				<td nowrap="nowrap">数量&nbsp;</td>
				<td nowrap="nowrap">操作&nbsp;</td>
		</tr>
<#list page.result as list>
    	<tr>
				<td nowrap="nowrap">${list_index+1}&nbsp;</td>
				<td nowrap="nowrap"><a href="${base}/article/articleitem/get/${list.id?default("")}.shtml">${list.title?default("")}</a>&nbsp;</td>
				<td nowrap="nowrap">${list.insertDate?default("")}&nbsp;</td>
				<td nowrap="nowrap">
				<@security.authorize ifAnyGranted="RES_ARTICLEITEM_DELETE">
				<a href="${base}/article/articleitem/delete/id/${list.id?default("")}/tyid/${id?default('')}.shtml">删除</a>
				</@security.authorize>
				&nbsp;&nbsp;
				<@security.authorize ifAnyGranted="RES_ARTICLEITEM_INPUT">
				<a href="${base}/article/articleitem/input/${list.id?default("")}.shtml">修改</a>
				</@security.authorize>
				</td>
		</tr>
    </#list>
    </table>
    <@comm.pages/>
   <@s.actionmessage />
   <@comm.export path="article/articleitem" />
</body>
</html>
